package com.yycx.module.bus.client.entity.hy;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.yycx.common.mybatis.annotation.TableAlias;

/**
 * 付款通知单明细
 *
 * @author flyme
 * @date 2023-12-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_payment_details")
@TableAlias("bpd")
@ApiModel(value = "BusPaymentDetails对象", description = "付款通知单明细")
public class BusPaymentDetails extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "paymentDetailsId", type = IdType.ASSIGN_ID)
    private Long paymentDetailsId;

    @ApiModelProperty(value = "结算资金支付单ID")
    private Long paymentId;

    @ApiModelProperty(value = "开票ID")
    private Long invoicePaymentId;

    @ApiModelProperty(value = "结算申请ID")
    private Long settleApplyId;

    @ApiModelProperty(value = "开票单位ID")
    private Long invoiceUnitId;

    @ApiModelProperty(value = "开票单位名称")
    private String invoiceUnitName;

    @ApiModelProperty(value = "业务员ID")
    private Long saleManId;

    @ApiModelProperty(value = "业务员编号")
    private String saleManCode;

    @ApiModelProperty(value = "业务银行")
    private Long saleManBankId;

    @ApiModelProperty(value = "收款人开户行")
    private String bankName;

    @ApiModelProperty(value = "收款人账户")
    private String bankNo;

    @ApiModelProperty(value = "收款人")
    private String payeeName;

    @ApiModelProperty(value = "结算金额")
    private BigDecimal settleAmount;

    @ApiModelProperty(value = "结算时间")
    private Date settleDate;

    @ApiModelProperty(value = "状态")
    private Integer settleState;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "申请人")
    private Long userId;

}
